package come.tool.JDialog;

import org.come.socket.Agreement;
import org.come.socket.SendMessageUntil;
import org.come.until.GsonUtil;

public class BuyLiangHaoJDialog implements TiShiChuLi
{
    @Override
    public void tipBox(final boolean tishi, final Object object) {
        if (tishi) {
            String mes = Agreement.getAgreement().selllianghaoAgreement("BUYLIANGHAO|"+ GsonUtil.getGsonUtil().getgson().toJson(object));
            SendMessageUntil.toServer(mes);
        }
    }
}
